#pragma once
#include "inc.h"
#include "tgaimage.h"

class GTexture
{
public:
	GTexture();
	void LoadNormalTex(const char* pName);
	void LoadTgaTex(const char* pName);
	void FlipVertically();
	Vector3f SampleTex(float fU, float fV);
	Vector3f SampleNormalTex(float fU, float fV);
	int GetWidth();
	int GetHeight();
private:
	TGAImage* m_pTgaTex;
	Gdiplus::Bitmap* m_pBmp;
	Gdiplus::Color m_col;
};